<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="path" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8" />
  <title>Document</title>
  <link rel="stylesheet" href="${path }/static/css/cars.css"/>
  <style type="text/css">
.hd {
  background: url(images/zara.jpg) top  no-repeat;
  height: 190px;
}
.tit {
  font-size: 16px;
  width: 100px;
  margin:20px auto;
}
  </style>
 </head>
 <body>
  <div align="center">
     <a href="${path }/ToIndexServlet?userid=${userid }"><img src="${path }/static/images/zara.jpg"></a>
  </div>
  <div class="tit">
    <a href="#">我的收藏</a>
  </div>
  <section class="cartMain">
   <div class="cartBox" style="margin-top:20px;"> 
    <div class="order_content"> 
    <c:forEach items="${c }" var="c"> 
     <ul class="order_lists"> 
      <li class="list_chk"> <input type="checkbox" id="checkbox_2" class="son_check" /></li>
      <li class="list_con"> 
       <div class="list_img">
        <a href="${path }/ToShowCommodity?userid=${userid }&comid=${c.comid }"><img src="${path }/static/images/${c.image }.jpg" alt="" /></a>
       </div> 
       <div class="list_text">${c.com_name }</a>
       </div> </li> 
      <li class="list_price"> <p class="price">￥${c.price }</p> </li> 
      <li class="list_amount"> 
      </li> 
      <li class="list_sum"><p><a class="sum_price">降价通知</a></p></li> 
      <li class="list_op"> <p class="del"><a href="${path }/DoDeleteFavorite?userid=${userid }&comid=${c.comid }" class="delBtn">取消收藏</a></p> </li> 
     <!--  <section class="model_bg"></section>  -->
	  <%-- <section class="my_model"> 
	   <p class="title">取消收藏<span class="closeModel">X</span></p> 
	    <p>您确认要取消收藏该宝贝吗？</p> 
	   <div class="opBtn">
	    <a href="${path }/DoDeleteFavorite?userid=${userid }&comid=${c.comid }" class="dialog-sure">确定</a>
	    <a href="javascript:;" class="dialog-close">再想想</a> 
	    </div> 
	  </section>  --%>
     </ul> 
     </c:forEach>
    </div> 
   </div> 
  </section> 
  
 </body>
 <script src="${path }/static/js/jquery.min.js"></script> 
 <script src="${path }/static/js/cars.js"></script> 
</html>